minimize window form c#

115

c# minimize form -


private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
     if(e.KeyChar == 'm')
         this.WindowState = FormWindowState.Minimized;
}


Comments

Submit
0 Comments